@import '~choerodon-ui/lib/style/themes/default';
@circle-trail-stroke: rgba(207, 212, 245, 0.90);
@circle-path-stroke: rgba(48, 63, 159, 0.64);
@progress-text-color: rgba(0, 0, 0, 0.65);
@progress-area-background: #FFFFFF;
@progress-area-box-shadow1: rgba(0, 0, 0, 0.20);
@progress-area-box-shadow2: rgba(0, 0, 0, 0.14);
@progress-area-box-shadow3: rgba(0, 0, 0, 0.12);
@progress-area-text: #000000;
@fileName-background: #F3F3F3;
@fileName-color: rgba(0, 0, 0, 0.54);

.c7n-importIssue {
  .c7n-progress-circle-trail {
    stroke: @circle-trail-stroke;
  }

  .c7n-progress-circle-path {
    stroke: @circle-path-stroke;
  }

  .c7n-progress-text {
    font-size: 0.16rem;
    color: @progress-text-color;
  }

  &-progress-area {
    background: @progress-area-background;
    box-shadow: 0 0.03rem 0.01rem -0.02rem @progress-area-box-shadow1, 0 0.02rem 0.02rem 0 @progress-area-box-shadow2, 0 0.01rem 0.05rem 0 @progress-area-box-shadow3;
    border-radius: 0.04rem;
    width: 3.3rem;
    height: 1.85rem;
    text-align: center;
    margin-top: .24rem;
    padding-top: 0.18rem;

    &-text {
      font-size: 0.2rem;
      color: @progress-area-text;
      line-height: 0.28rem;
      margin: .2rem 0 0.07rem 0;
      display: block;
    }

    &-prompt {
      font-size: 0.14rem;
      line-height: 0.2rem;
      color: #000000;
      text-align: left;
    }
  }

  &-record-normal-text {
    margin-top: 0.1rem;
  }

  &-fileName {
    background-color: @fileName-background;
    border-radius: 0.02rem;
    height: 0.32rem;
    width: 1.48rem;
    display: inline-block;
    padding: 0.07rem 0.09rem;
    margin-right: 0.1rem;
    color: @fileName-color;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &-text {
    margin-right: 0.1rem;
    display: inline-block;
    vertical-align: top;
    margin-top: 0.07rem;
    font-family: PingFangSC-Regular;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 18px;

    span {
      color: #000000;
    }

    &-down-load {
      color: @primary-color;
      margin-top: .17rem;
    }
  }
  &-fileName {
    background-color: #F3F3F3;
    border-radius: 0.02rem;
    height: 0.32rem;
    width: 1.48rem;
    display: inline-block;
    padding: 0.07rem 0.09rem;
    margin-right: 0.1rem;
    color: rgba(0, 0, 0, 0.54);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &-text {
    margin-right: 0.1rem;
    display: inline-block;
    vertical-align: top;
    margin-top: 0.07rem;
  }

  &-progress {
    width: 2rem;
    vertical-align: top;
    margin-top: 0.07rem;
  }

  &-icon {
    vertical-align: sub;
    margin-right: 0.05rem;
  }
  &-form {
    .c7n-divider {
      width: 3.74rem;
      margin-left: -.24rem;
      margin-bottom: .195rem;
    }

    &-one {
      &-title {
        font-size: 16px;
        color: rgba(0, 0, 0, 0.87);
        line-height: 24px;
      }

      &-content {
        display: block;
        margin: .16rem 0;
        font-size: 13px;
        color: rgba(0, 0, 0, 0.65);
        line-height: 20px;
      }
    }

    // &-modal-footer {
    //   position: absolute;
    //   bottom: 0;
    //   left: 0;
    //   width: 100%;
    //   text-align: left;
    //   padding: 0.12rem 0.24rem;
    //   border-radius: 0 0 0.02rem 0.02rem;
    //   background: white;
    //   border-top: 0.01rem solid #e0e0e0;
    // }

  }
  .c7n-importIssue-btn {
    background: rgba(83, 101, 234, 0.14);
    border-radius: 4px;
    padding-left: 8px;
    & > i.icon + span, & > span + i.icon {
      margin-left: 0;
    }
  }
}
